#pragma once

namespace tools
{
	void FormatTime(LPTSTR dest, int maxCch, CTime &time);
	ULONGLONG ByteToKB(ULONGLONG fileSize);
	char* WcharToChar(const wchar_t* wstr);
	wchar_t* CharToWChar(const char* str);
	void RenameExistedFile(CString& path);
	CString ExtractFileNameFromPath(CString& path);
	CString ExtractDirectoryFromPath(CString& path);
	CString ExtractExtensionFromFile(CString& filename);
	enum ListView
	{
		Report,List,LargeIcon,SmallIcon
	};
}